ListFragment
Static library support version of the framework's android.app.ListFragment. Used to write apps that run on platforms prior to Android 3.0. When running on Android 3.0 or above, this implementation is still used; it does not try to switch to the framework's implementation. See the framework SDK documentation for a class overview.
Functions
Link copied to clipboard
Get the ListAdapter associated with this fragment's ListView.
Link copied to clipboard
Get the fragment's list view widget.
Link copied to clipboard
Get the cursor row ID of the currently selected list item.
Link copied to clipboard
Get the position of the currently selected list item.
Link copied to clipboard
open fun onCreateView(@NonNull inflater: LayoutInflater, @Nullable container: ViewGroup, @Nullable savedInstanceState: Bundle): View
Provide default implementation to return a simple list view.
Link copied to clipboard
Detach from list view.
Link copied to clipboard
Link copied to clipboard
Attach to list view once the view hierarchy has been created.
Link copied to clipboard
Get the ListAdapter associated with this fragment's ListView.
Link copied to clipboard
The default content for a ListFragment has a TextView that can be shown when the list is empty.
Link copied to clipboard
Provide the cursor for the list view.
Link copied to clipboard
Control whether the list is being displayed.
Link copied to clipboard
Like setListShown, but no animation is used when transitioning from the previous state.
Link copied to clipboard
Set the currently selected list item to the specified position with the adapter's data